package model;

public class DepartVO {
	// 멤버 변수 선언
	private String depart;
	private String tel;
	private String position;
	private String chief;
	private String hiredate;
	// 생성자
	// public DepartVO(){} 기본 생성자
	public DepartVO(String depart,String tel,String position,String chief,String hiredate){
		this.depart = depart;
		this.tel = tel;
		this.position = position;
		this.chief = chief;
		this.hiredate = hiredate;
	}


	// Setter
	public void setDepart(String depart){
		this.depart = depart;
	}
	public void setTel(String tel){
		this.tel = tel;
	}
	public void setPosition(String position){
		this.position = position;
	}
	public void setChief(String chief){
		this.chief = chief;
	}
	public void setHiredate(String hiredate){
		this.hiredate = hiredate;
	}
	
	// Getter
	
	public String getDepart(){
		return depart;
	}
	public String getTel(){
		return tel;
	}
	public String getPosition(){
		return position;
	}
	public String getChief(){
		return chief;
	}
	public String getHiredate(){
		return hiredate;
	}
	
	
	@Override
	public String toString() {
		String result ="";
		result += depart+"/"+tel+"/"+position+"/"+chief+"/"+hiredate;  
		return result;
	}
	

} // class










/*public void TelVO(String tel){
	this.tel = tel;
}
public void PositionVO(String position){
	this.position = position;
}
public void ChiefVO(String chief){
	this.chief = chief;
}
public void HiredateVO(String hiredate){
	this.hiredate = hiredate;
}*/